package com.awccis.common.utils;

/**
 * @Author: 纯牛奶丶
 * @Date: 2018-04-14 21:08
 * @Since: 1.0
 * @Description: 静态类
 **/
public class Constants {
   
   /**
    * 系统唯一识别码
    */
   public static final String AWCCIS_CODE = "1a5da935ac641f2c46d5096f08d0c40b15234072";

   /**
    * 凌晨时间开始
    */
   public static final String BEGIN_DATE = "00:00:00";
   /**
    * 凌晨时间结束
    */
   public static final String END_DATE = "08:00:00";
   
   /**
    * 空字符串
    */
   public static final String EMPTY_STRING = "";
   
   /**
    * 请求的json格式的数据
    */
   public static final String REQUEST_PRODUCES = "application/json;charset=UTF-8";
   
   /**
    * Map的键名---result
    */
   public static final String MAP_KEY_RESULT = "result";
   /**
    * Map的键名---message
    */
   public static final String MAP_KEY_MESSAGE = "message";
   /**
    * Map的键名---totalCount
    */
   public static final String MAP_KEY_TOTAL_COUNT = "totalCount";
   /**
    * Map的values---error
    */
   public static final String MAP_VALUE_ERROR = "error";
   /**
    * Map的values---非法请求值
    */
   public static final String MAP_VALUE_ILLEGAL_REQUEST = "非法请求值！";
   /**
    * Map的values---登录失败
    */
   public static final String MAP_VALUE_LOGIN_ERROR = "登录失败！";
   
   /**
    * driver是否线被冻结
    */
   public static final String DRIVER_STATUS = "driverStatus";
   /**
    * driver是否线通过审核
    */
   public static final String DRIVER_IS_CHECKED = "driverIsChecked";
   /**
    * driver是否在线driverIsOnline
    */
   public static final String DRIVER_IS_ONLINE = "driverIsOnline";
   /**
    * driver是否在运营状态driverIsWork
    */
   public static final String DRIVER_IS_WORK = "driverIsWork";
   /**
    * driver的积分driverIntegralCount
    */
   public static final String DRIVER_INTEGRAL_COUNT = "driverIntegralCount";
    /**
     * driver的订单的接单时间receiveTime
     */
   public static final String DRIVER_ORDER_RECEIVE_TIME = "receiveTime";
    /**
     * driver的订单的行程开始时间travelOnTime
     */
   public static final String DRIVER_ORDER_TRAVEL_ONTIME = "travelOnTime";
    /**
     * driver的订单的行程结束的时间travelEndTime
     */
   public static final String DRIVER_ORDER_TRAVEL_END_TIME = "travelEndTime";
    /**
     * driver的订单的结束时间finishTime
     */
   public static final String DRIVER_ORDER_FINISH_TIME = "finishTime";
   
   /**
    * 发送短信的地址
    */
   public static final String SMS_VERIFICATION_URL = "https://api.nexmo.com/verify/json";
   /**
    * 发送短信的验证地址
    */
   public static final String SMS_VERIFICATION_CHECK_URL = "https://api.nexmo.com/verify/check/json";

   /**
    * 发送短信的验证地址
    */
   public static final String SMS_SEND_INFO = "https://rest.nexmo.com/sms/json";
   
   /**
    * 用户对象放到Session中的键名称
    */
   public static final String USER_CONTEXT = "USER_CONTEXT";

   /**
    * 一星差评
    */
   public static final String STAR_1= "司机接单一星差评！";
   /**
    * 两星差评
    */
   public static final String STAR_2= "司机接单两星差评！";
   /**
    * 三星中评
    */
   public static final String STAR_3= "司机接单三星中评！";
   /**
    * 四星好评
    */
   public static final String STAR_4= "司机接单四星好评！";
   /**
    * 五星好评
    */
   public static final String STAR_5= "司机接单五星好评！";
   /**
    * 无评价
    */
   public static final String STAR_0= "乘客无评价！";
   
   //路线规划的Http请求的URL
   public static final String ROAD_REQUEST = "https://maps.googleapis.com/maps/api/directions/json";

   /**
    * 通过经纬度获取地名
    */
   public static final  String GET_NAME_BY_JING_WEI =  "https://maps.googleapis.com/maps/api/geocode/json";

    /**
     * 获取未知名称参数
     */
   public static final String LOCATION_NAME_PARAM = "key=AIzaSyCqFU2i3lssNjfVXjm9VbCABMcVny4V9dU&address=";
   
   //路线规划的Http请求的URL的参数
   public static final String ROAD_REQUEST_PARAM = "sensor=false&mode=driving&key=AIzaSyCqFU2i3lssNjfVXjm9VbCABMcVny4V9dU";
   
   //推荐的司机数量
   public static final int RECOMMEND_NUM = 5;

   public final static int REQUEST_STRING = 0;
   public final static int REQUEST_STREAM = 1;
   public final static int FORM_DATA = 0;
   public final static int JSON_DATA = 1;
   public final static int SYNC = 0;
   public final static int ASYNC = 1;
}
